package com.itheima.chap04;

public class StaticDemo {
    public static void main(String[] args) {
        System.out.println("学生总人数是：" + Student.getCount());

        Student s1 = new Student( "张三", "男");
        Student s2 = new Student( "李四", "女");

        System.out.println("学生总人数是：" + Student.getCount());
        System.out.println(s1.displayINfo());
        System.out.println(s2.displayINfo());
    }
}
